package com.karson.service.service;

import com.karson.common.model.UserAction;
import com.baomidou.mybatisplus.extension.service.IService;
import com.karson.common.request.UserActionRequest;
import com.karson.common.vo.ActionStatusVo;

import java.util.List;

/**
* @author ZKS
* @description 针对表【ar_user_action(用户行为记录表（点赞/点踩/收藏）)】的数据库操作Service
* @createDate 2025-09-04 14:08:51
*/
public interface UserActionService extends IService<UserAction> {

    void recordUserAction(UserActionRequest userAction);

    ActionStatusVo getActionStatus(Integer albumId, String type);

    void reportProgress(Integer trackId, Integer currentTime, Integer duration);

    void finalizePlayback(Integer trackId, Integer duration);

    List<Integer> getActionAlbumIds();
}
